//
//  Constants.h
//  CherryPlumStore
//
//  Created by SDX on 2019/9/15.
//  Copyright © 2019 千凯. All rights reserved.
//

#ifndef Constants_h
#define Constants_h

// 登陆地址
#define WEB_LOGIN_PATH @"http://localhost:8081/login/loginByPwd"

// Host地址
#define HOST @"http://hzmapi.qiankaiwangluo.com:8080/"

// 自定义浏览器userAgent
#define UA @"/YtliOS"

//获取系统版本
#define IOS_SYSTEM_VERSION [[[UIDevice currentDevice] systemVersion] floatValue]

//设置RGB颜色
#define ERGBColor(r,g,b,a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:a]

//屏幕的宽度和高度
#define SCREENWIDTH [[UIScreen mainScreen] bounds].size.width
#define SCREENHEIGHT [[UIScreen mainScreen] bounds].size.height

#endif /* Constants_h */
